package com.hydl.power.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class InspectionOrderExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public InspectionOrderExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andOrderIdIsNull() {
            addCriterion("order_id is null");
            return (Criteria) this;
        }

        public Criteria andOrderIdIsNotNull() {
            addCriterion("order_id is not null");
            return (Criteria) this;
        }

        public Criteria andOrderIdEqualTo(String value) {
            addCriterion("order_id =", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotEqualTo(String value) {
            addCriterion("order_id <>", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdGreaterThan(String value) {
            addCriterion("order_id >", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdGreaterThanOrEqualTo(String value) {
            addCriterion("order_id >=", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdLessThan(String value) {
            addCriterion("order_id <", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdLessThanOrEqualTo(String value) {
            addCriterion("order_id <=", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdLike(String value) {
            addCriterion("order_id like", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotLike(String value) {
            addCriterion("order_id not like", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdIn(List<String> values) {
            addCriterion("order_id in", values, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotIn(List<String> values) {
            addCriterion("order_id not in", values, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdBetween(String value1, String value2) {
            addCriterion("order_id between", value1, value2, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotBetween(String value1, String value2) {
            addCriterion("order_id not between", value1, value2, "orderId");
            return (Criteria) this;
        }

        public Criteria andProjectIdIsNull() {
            addCriterion("project_id is null");
            return (Criteria) this;
        }

        public Criteria andProjectIdIsNotNull() {
            addCriterion("project_id is not null");
            return (Criteria) this;
        }

        public Criteria andProjectIdEqualTo(String value) {
            addCriterion("project_id =", value, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdNotEqualTo(String value) {
            addCriterion("project_id <>", value, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdGreaterThan(String value) {
            addCriterion("project_id >", value, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdGreaterThanOrEqualTo(String value) {
            addCriterion("project_id >=", value, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdLessThan(String value) {
            addCriterion("project_id <", value, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdLessThanOrEqualTo(String value) {
            addCriterion("project_id <=", value, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdLike(String value) {
            addCriterion("project_id like", value, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdNotLike(String value) {
            addCriterion("project_id not like", value, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdIn(List<String> values) {
            addCriterion("project_id in", values, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdNotIn(List<String> values) {
            addCriterion("project_id not in", values, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdBetween(String value1, String value2) {
            addCriterion("project_id between", value1, value2, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdNotBetween(String value1, String value2) {
            addCriterion("project_id not between", value1, value2, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectNameIsNull() {
            addCriterion("project_name is null");
            return (Criteria) this;
        }

        public Criteria andProjectNameIsNotNull() {
            addCriterion("project_name is not null");
            return (Criteria) this;
        }

        public Criteria andProjectNameEqualTo(String value) {
            addCriterion("project_name =", value, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameNotEqualTo(String value) {
            addCriterion("project_name <>", value, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameGreaterThan(String value) {
            addCriterion("project_name >", value, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameGreaterThanOrEqualTo(String value) {
            addCriterion("project_name >=", value, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameLessThan(String value) {
            addCriterion("project_name <", value, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameLessThanOrEqualTo(String value) {
            addCriterion("project_name <=", value, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameLike(String value) {
            addCriterion("project_name like", value, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameNotLike(String value) {
            addCriterion("project_name not like", value, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameIn(List<String> values) {
            addCriterion("project_name in", values, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameNotIn(List<String> values) {
            addCriterion("project_name not in", values, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameBetween(String value1, String value2) {
            addCriterion("project_name between", value1, value2, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameNotBetween(String value1, String value2) {
            addCriterion("project_name not between", value1, value2, "projectName");
            return (Criteria) this;
        }

        public Criteria andPoweroomIdIsNull() {
            addCriterion("poweroom_Id is null");
            return (Criteria) this;
        }

        public Criteria andPoweroomIdIsNotNull() {
            addCriterion("poweroom_Id is not null");
            return (Criteria) this;
        }

        public Criteria andPoweroomIdEqualTo(String value) {
            addCriterion("poweroom_Id =", value, "poweroomId");
            return (Criteria) this;
        }

        public Criteria andPoweroomIdNotEqualTo(String value) {
            addCriterion("poweroom_Id <>", value, "poweroomId");
            return (Criteria) this;
        }

        public Criteria andPoweroomIdGreaterThan(String value) {
            addCriterion("poweroom_Id >", value, "poweroomId");
            return (Criteria) this;
        }

        public Criteria andPoweroomIdGreaterThanOrEqualTo(String value) {
            addCriterion("poweroom_Id >=", value, "poweroomId");
            return (Criteria) this;
        }

        public Criteria andPoweroomIdLessThan(String value) {
            addCriterion("poweroom_Id <", value, "poweroomId");
            return (Criteria) this;
        }

        public Criteria andPoweroomIdLessThanOrEqualTo(String value) {
            addCriterion("poweroom_Id <=", value, "poweroomId");
            return (Criteria) this;
        }

        public Criteria andPoweroomIdLike(String value) {
            addCriterion("poweroom_Id like", value, "poweroomId");
            return (Criteria) this;
        }

        public Criteria andPoweroomIdNotLike(String value) {
            addCriterion("poweroom_Id not like", value, "poweroomId");
            return (Criteria) this;
        }

        public Criteria andPoweroomIdIn(List<String> values) {
            addCriterion("poweroom_Id in", values, "poweroomId");
            return (Criteria) this;
        }

        public Criteria andPoweroomIdNotIn(List<String> values) {
            addCriterion("poweroom_Id not in", values, "poweroomId");
            return (Criteria) this;
        }

        public Criteria andPoweroomIdBetween(String value1, String value2) {
            addCriterion("poweroom_Id between", value1, value2, "poweroomId");
            return (Criteria) this;
        }

        public Criteria andPoweroomIdNotBetween(String value1, String value2) {
            addCriterion("poweroom_Id not between", value1, value2, "poweroomId");
            return (Criteria) this;
        }

        public Criteria andPowerroomNameIsNull() {
            addCriterion("powerroom_name is null");
            return (Criteria) this;
        }

        public Criteria andPowerroomNameIsNotNull() {
            addCriterion("powerroom_name is not null");
            return (Criteria) this;
        }

        public Criteria andPowerroomNameEqualTo(String value) {
            addCriterion("powerroom_name =", value, "powerroomName");
            return (Criteria) this;
        }

        public Criteria andPowerroomNameNotEqualTo(String value) {
            addCriterion("powerroom_name <>", value, "powerroomName");
            return (Criteria) this;
        }

        public Criteria andPowerroomNameGreaterThan(String value) {
            addCriterion("powerroom_name >", value, "powerroomName");
            return (Criteria) this;
        }

        public Criteria andPowerroomNameGreaterThanOrEqualTo(String value) {
            addCriterion("powerroom_name >=", value, "powerroomName");
            return (Criteria) this;
        }

        public Criteria andPowerroomNameLessThan(String value) {
            addCriterion("powerroom_name <", value, "powerroomName");
            return (Criteria) this;
        }

        public Criteria andPowerroomNameLessThanOrEqualTo(String value) {
            addCriterion("powerroom_name <=", value, "powerroomName");
            return (Criteria) this;
        }

        public Criteria andPowerroomNameLike(String value) {
            addCriterion("powerroom_name like", value, "powerroomName");
            return (Criteria) this;
        }

        public Criteria andPowerroomNameNotLike(String value) {
            addCriterion("powerroom_name not like", value, "powerroomName");
            return (Criteria) this;
        }

        public Criteria andPowerroomNameIn(List<String> values) {
            addCriterion("powerroom_name in", values, "powerroomName");
            return (Criteria) this;
        }

        public Criteria andPowerroomNameNotIn(List<String> values) {
            addCriterion("powerroom_name not in", values, "powerroomName");
            return (Criteria) this;
        }

        public Criteria andPowerroomNameBetween(String value1, String value2) {
            addCriterion("powerroom_name between", value1, value2, "powerroomName");
            return (Criteria) this;
        }

        public Criteria andPowerroomNameNotBetween(String value1, String value2) {
            addCriterion("powerroom_name not between", value1, value2, "powerroomName");
            return (Criteria) this;
        }

        public Criteria andStartTimeIsNull() {
            addCriterion("start_time is null");
            return (Criteria) this;
        }

        public Criteria andStartTimeIsNotNull() {
            addCriterion("start_time is not null");
            return (Criteria) this;
        }

        public Criteria andStartTimeEqualTo(Date value) {
            addCriterion("start_time =", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeNotEqualTo(Date value) {
            addCriterion("start_time <>", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeGreaterThan(Date value) {
            addCriterion("start_time >", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("start_time >=", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeLessThan(Date value) {
            addCriterion("start_time <", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeLessThanOrEqualTo(Date value) {
            addCriterion("start_time <=", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeIn(List<Date> values) {
            addCriterion("start_time in", values, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeNotIn(List<Date> values) {
            addCriterion("start_time not in", values, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeBetween(Date value1, Date value2) {
            addCriterion("start_time between", value1, value2, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeNotBetween(Date value1, Date value2) {
            addCriterion("start_time not between", value1, value2, "startTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeIsNull() {
            addCriterion("end_time is null");
            return (Criteria) this;
        }

        public Criteria andEndTimeIsNotNull() {
            addCriterion("end_time is not null");
            return (Criteria) this;
        }

        public Criteria andEndTimeEqualTo(Date value) {
            addCriterion("end_time =", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeNotEqualTo(Date value) {
            addCriterion("end_time <>", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeGreaterThan(Date value) {
            addCriterion("end_time >", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("end_time >=", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeLessThan(Date value) {
            addCriterion("end_time <", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeLessThanOrEqualTo(Date value) {
            addCriterion("end_time <=", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeIn(List<Date> values) {
            addCriterion("end_time in", values, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeNotIn(List<Date> values) {
            addCriterion("end_time not in", values, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeBetween(Date value1, Date value2) {
            addCriterion("end_time between", value1, value2, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeNotBetween(Date value1, Date value2) {
            addCriterion("end_time not between", value1, value2, "endTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andMaintainerIdIsNull() {
            addCriterion("maintainer_id is null");
            return (Criteria) this;
        }

        public Criteria andMaintainerIdIsNotNull() {
            addCriterion("maintainer_id is not null");
            return (Criteria) this;
        }

        public Criteria andMaintainerIdEqualTo(String value) {
            addCriterion("maintainer_id =", value, "maintainerId");
            return (Criteria) this;
        }

        public Criteria andMaintainerIdNotEqualTo(String value) {
            addCriterion("maintainer_id <>", value, "maintainerId");
            return (Criteria) this;
        }

        public Criteria andMaintainerIdGreaterThan(String value) {
            addCriterion("maintainer_id >", value, "maintainerId");
            return (Criteria) this;
        }

        public Criteria andMaintainerIdGreaterThanOrEqualTo(String value) {
            addCriterion("maintainer_id >=", value, "maintainerId");
            return (Criteria) this;
        }

        public Criteria andMaintainerIdLessThan(String value) {
            addCriterion("maintainer_id <", value, "maintainerId");
            return (Criteria) this;
        }

        public Criteria andMaintainerIdLessThanOrEqualTo(String value) {
            addCriterion("maintainer_id <=", value, "maintainerId");
            return (Criteria) this;
        }

        public Criteria andMaintainerIdLike(String value) {
            addCriterion("maintainer_id like", value, "maintainerId");
            return (Criteria) this;
        }

        public Criteria andMaintainerIdNotLike(String value) {
            addCriterion("maintainer_id not like", value, "maintainerId");
            return (Criteria) this;
        }

        public Criteria andMaintainerIdIn(List<String> values) {
            addCriterion("maintainer_id in", values, "maintainerId");
            return (Criteria) this;
        }

        public Criteria andMaintainerIdNotIn(List<String> values) {
            addCriterion("maintainer_id not in", values, "maintainerId");
            return (Criteria) this;
        }

        public Criteria andMaintainerIdBetween(String value1, String value2) {
            addCriterion("maintainer_id between", value1, value2, "maintainerId");
            return (Criteria) this;
        }

        public Criteria andMaintainerIdNotBetween(String value1, String value2) {
            addCriterion("maintainer_id not between", value1, value2, "maintainerId");
            return (Criteria) this;
        }

        public Criteria andMaintainerNameIsNull() {
            addCriterion("maintainer_name is null");
            return (Criteria) this;
        }

        public Criteria andMaintainerNameIsNotNull() {
            addCriterion("maintainer_name is not null");
            return (Criteria) this;
        }

        public Criteria andMaintainerNameEqualTo(String value) {
            addCriterion("maintainer_name =", value, "maintainerName");
            return (Criteria) this;
        }

        public Criteria andMaintainerNameNotEqualTo(String value) {
            addCriterion("maintainer_name <>", value, "maintainerName");
            return (Criteria) this;
        }

        public Criteria andMaintainerNameGreaterThan(String value) {
            addCriterion("maintainer_name >", value, "maintainerName");
            return (Criteria) this;
        }

        public Criteria andMaintainerNameGreaterThanOrEqualTo(String value) {
            addCriterion("maintainer_name >=", value, "maintainerName");
            return (Criteria) this;
        }

        public Criteria andMaintainerNameLessThan(String value) {
            addCriterion("maintainer_name <", value, "maintainerName");
            return (Criteria) this;
        }

        public Criteria andMaintainerNameLessThanOrEqualTo(String value) {
            addCriterion("maintainer_name <=", value, "maintainerName");
            return (Criteria) this;
        }

        public Criteria andMaintainerNameLike(String value) {
            addCriterion("maintainer_name like", value, "maintainerName");
            return (Criteria) this;
        }

        public Criteria andMaintainerNameNotLike(String value) {
            addCriterion("maintainer_name not like", value, "maintainerName");
            return (Criteria) this;
        }

        public Criteria andMaintainerNameIn(List<String> values) {
            addCriterion("maintainer_name in", values, "maintainerName");
            return (Criteria) this;
        }

        public Criteria andMaintainerNameNotIn(List<String> values) {
            addCriterion("maintainer_name not in", values, "maintainerName");
            return (Criteria) this;
        }

        public Criteria andMaintainerNameBetween(String value1, String value2) {
            addCriterion("maintainer_name between", value1, value2, "maintainerName");
            return (Criteria) this;
        }

        public Criteria andMaintainerNameNotBetween(String value1, String value2) {
            addCriterion("maintainer_name not between", value1, value2, "maintainerName");
            return (Criteria) this;
        }

        public Criteria andResultIsNull() {
            addCriterion("result is null");
            return (Criteria) this;
        }

        public Criteria andResultIsNotNull() {
            addCriterion("result is not null");
            return (Criteria) this;
        }

        public Criteria andResultEqualTo(String value) {
            addCriterion("result =", value, "result");
            return (Criteria) this;
        }

        public Criteria andResultNotEqualTo(String value) {
            addCriterion("result <>", value, "result");
            return (Criteria) this;
        }

        public Criteria andResultGreaterThan(String value) {
            addCriterion("result >", value, "result");
            return (Criteria) this;
        }

        public Criteria andResultGreaterThanOrEqualTo(String value) {
            addCriterion("result >=", value, "result");
            return (Criteria) this;
        }

        public Criteria andResultLessThan(String value) {
            addCriterion("result <", value, "result");
            return (Criteria) this;
        }

        public Criteria andResultLessThanOrEqualTo(String value) {
            addCriterion("result <=", value, "result");
            return (Criteria) this;
        }

        public Criteria andResultLike(String value) {
            addCriterion("result like", value, "result");
            return (Criteria) this;
        }

        public Criteria andResultNotLike(String value) {
            addCriterion("result not like", value, "result");
            return (Criteria) this;
        }

        public Criteria andResultIn(List<String> values) {
            addCriterion("result in", values, "result");
            return (Criteria) this;
        }

        public Criteria andResultNotIn(List<String> values) {
            addCriterion("result not in", values, "result");
            return (Criteria) this;
        }

        public Criteria andResultBetween(String value1, String value2) {
            addCriterion("result between", value1, value2, "result");
            return (Criteria) this;
        }

        public Criteria andResultNotBetween(String value1, String value2) {
            addCriterion("result not between", value1, value2, "result");
            return (Criteria) this;
        }

        public Criteria andSuggestIsNull() {
            addCriterion("suggest is null");
            return (Criteria) this;
        }

        public Criteria andSuggestIsNotNull() {
            addCriterion("suggest is not null");
            return (Criteria) this;
        }

        public Criteria andSuggestEqualTo(String value) {
            addCriterion("suggest =", value, "suggest");
            return (Criteria) this;
        }

        public Criteria andSuggestNotEqualTo(String value) {
            addCriterion("suggest <>", value, "suggest");
            return (Criteria) this;
        }

        public Criteria andSuggestGreaterThan(String value) {
            addCriterion("suggest >", value, "suggest");
            return (Criteria) this;
        }

        public Criteria andSuggestGreaterThanOrEqualTo(String value) {
            addCriterion("suggest >=", value, "suggest");
            return (Criteria) this;
        }

        public Criteria andSuggestLessThan(String value) {
            addCriterion("suggest <", value, "suggest");
            return (Criteria) this;
        }

        public Criteria andSuggestLessThanOrEqualTo(String value) {
            addCriterion("suggest <=", value, "suggest");
            return (Criteria) this;
        }

        public Criteria andSuggestLike(String value) {
            addCriterion("suggest like", value, "suggest");
            return (Criteria) this;
        }

        public Criteria andSuggestNotLike(String value) {
            addCriterion("suggest not like", value, "suggest");
            return (Criteria) this;
        }

        public Criteria andSuggestIn(List<String> values) {
            addCriterion("suggest in", values, "suggest");
            return (Criteria) this;
        }

        public Criteria andSuggestNotIn(List<String> values) {
            addCriterion("suggest not in", values, "suggest");
            return (Criteria) this;
        }

        public Criteria andSuggestBetween(String value1, String value2) {
            addCriterion("suggest between", value1, value2, "suggest");
            return (Criteria) this;
        }

        public Criteria andSuggestNotBetween(String value1, String value2) {
            addCriterion("suggest not between", value1, value2, "suggest");
            return (Criteria) this;
        }

        public Criteria andInspectionReportIsNull() {
            addCriterion("Inspection_report is null");
            return (Criteria) this;
        }

        public Criteria andInspectionReportIsNotNull() {
            addCriterion("Inspection_report is not null");
            return (Criteria) this;
        }

        public Criteria andInspectionReportEqualTo(String value) {
            addCriterion("Inspection_report =", value, "inspectionReport");
            return (Criteria) this;
        }

        public Criteria andInspectionReportNotEqualTo(String value) {
            addCriterion("Inspection_report <>", value, "inspectionReport");
            return (Criteria) this;
        }

        public Criteria andInspectionReportGreaterThan(String value) {
            addCriterion("Inspection_report >", value, "inspectionReport");
            return (Criteria) this;
        }

        public Criteria andInspectionReportGreaterThanOrEqualTo(String value) {
            addCriterion("Inspection_report >=", value, "inspectionReport");
            return (Criteria) this;
        }

        public Criteria andInspectionReportLessThan(String value) {
            addCriterion("Inspection_report <", value, "inspectionReport");
            return (Criteria) this;
        }

        public Criteria andInspectionReportLessThanOrEqualTo(String value) {
            addCriterion("Inspection_report <=", value, "inspectionReport");
            return (Criteria) this;
        }

        public Criteria andInspectionReportLike(String value) {
            addCriterion("Inspection_report like", value, "inspectionReport");
            return (Criteria) this;
        }

        public Criteria andInspectionReportNotLike(String value) {
            addCriterion("Inspection_report not like", value, "inspectionReport");
            return (Criteria) this;
        }

        public Criteria andInspectionReportIn(List<String> values) {
            addCriterion("Inspection_report in", values, "inspectionReport");
            return (Criteria) this;
        }

        public Criteria andInspectionReportNotIn(List<String> values) {
            addCriterion("Inspection_report not in", values, "inspectionReport");
            return (Criteria) this;
        }

        public Criteria andInspectionReportBetween(String value1, String value2) {
            addCriterion("Inspection_report between", value1, value2, "inspectionReport");
            return (Criteria) this;
        }

        public Criteria andInspectionReportNotBetween(String value1, String value2) {
            addCriterion("Inspection_report not between", value1, value2, "inspectionReport");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Integer value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Integer value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Integer value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Integer value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Integer value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Integer> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Integer> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Integer value1, Integer value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}